@charset "UTF-8";
:root {
            --primary-color: #12B7F5;
            --sidebar-bg: #1E1E1E;
            --text-dark: #333;
            --text-light: #666;
            --border-color: #e7e7e7;
            --hover-bg: #f5f5f5;
            --success-color: #28a745;
            --danger-color: #dc3545;
        }
        
        body {
            font-family: 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            height: 100vh;
            background-color: #f5f5f5;
            color: var(--text-dark);
        }
        
        /* 侧边栏样式 */
        .sidebar {
            width: 220px;
            background-color: var(--sidebar-bg);
            color: white;
            height: 100%;
            box-shadow: 1px 0 5px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
        }
        
        .logo {
            padding: 15px;
            font-size: 20px;
            font-weight: bold;
            border-bottom: 1px solid #333;
            display: flex;
            align-items: center;
        }
        
        .logo img {
            width: 30px;
            margin-right: 10px;
        }
        
        .menu {
            padding: 10px 0;
            flex: 1;
            overflow-y: auto;
        }
        
        .menu-item {
            padding: 12px 15px;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: background-color 0.2s;
        }
        
        .menu-item i {
            margin-right: 10px;
            font-size: 16px;
            width: 20px;
            text-align: center;
        }
        
        .menu-item:hover {
            background-color: #333;
        }
        
        .menu-item.active {
            background-color: var(--primary-color);
        }
        
        /* 主内容区样式 */
        .main-content {
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        
        .admin-header {
            background-color: white;
            padding: 10px 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        .admin-info {
            display: flex;
            align-items: center;
            margin-right: 20px;
        }
        
        .admin-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #eee;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-weight: bold;
        }
        #userHeadimg{
        	width: 36px;
            height: 36px;
            border-radius: 50%;
        }
        #headimg{
        	width: 46px;
            height: 46px;
            border-radius: 50%;
            
        }
        .admin-name {
            font-weight: bold;
        }
        
        .admin-status {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--success-color);
            margin-left: 10px;
        }
        
        .content-header {
            background-color: white;
            padding: 15px 20px;
            border-bottom: 1px solid var(--border-color);
            font-size: 18px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        .content {
            padding: 20px;
            flex: 1;
        }
        
        /* 卡片通用样式 */
        .card {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .card-title {
            font-size: 16px;
            font-weight: bold;
        }
        
        /* 按钮样式 */
        .btn {
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            border: none;
            font-size: 14px;
            display: flex;
            align-items: center;
            transition: all 0.2s;
        }
        
        .btn i {
            margin-right: 5px;
        }
        
        .btn-sm {
            padding: 5px 10px;
            font-size: 12px;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #0e9fd8;
        }
        
        .btn-danger {
            background-color: var(--danger-color);
            color: white;
        }
        
        .btn-danger:hover {
            background-color: #c82333;
        }
        
        /* 表单样式 */
        .form-container {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .form-content {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            width: 500px;
            max-width: 90%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        
        .form-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .form-title {
            font-size: 18px;
            font-weight: bold;
        }
        
        .close-btn {
            cursor: pointer;
            font-size: 20px;
            color: var(--text-light);
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        
        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
            transition: border-color 0.2s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(18, 183, 245, 0.2);
        }
        
        .form-actions {
            text-align: right;
            margin-top: 20px;
        }
        
        /* 用户管理样式 */
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        th {
            background-color: #f9f9f9;
            font-weight: bold;
        }
        
        tr:hover {
            background-color: var(--hover-bg);
        }
        
        /* 动态管理样式 */
        .dynamic-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
            background-color: #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-weight: bold;
        }
        
        .username {
            font-weight: bold;
            margin-bottom: 2px;
        }
        
        .post-time {
            font-size: 12px;
            color: var(--text-light);
        }
        
        .dynamic-content {
            margin-bottom: 15px;
            line-height: 1.5;
            font-size: 14px;
        }
        
        .dynamic-images {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .image-item {
            height: 120px;
            border-radius: 4px;
            background-color: #eee;
            overflow: hidden;
            position: relative;
            transition: transform 0.2s;
        }
        
        .image-item:hover {
            transform: scale(1.02);
        }
        
        .image-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .image-actions {
            position: absolute;
            top: 5px;
            right: 5px;
            opacity: 0;
            transition: opacity 0.2s;
        }
        
        .image-item:hover .image-actions {
            opacity: 1;
        }
        
        .image-btn {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: rgba(0,0,0,0.5);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 5px;
            cursor: pointer;
            font-size: 12px;
            transition: background-color 0.2s;
        }
        
        .image-btn:hover {
            background-color: rgba(0,0,0,0.7);
        }
        
        /* 钱包管理极简样式 */
        .wallet-card {
            background: linear-gradient(135deg, #12B7F5, #1E1E1E);
            color: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .wallet-balance {
            font-size: 32px;
            font-weight: bold;
            text-align: center;
            margin: 20px 0;
        }
        
        .wallet-actions {
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        
        .btn-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-circle:hover {
            background-color: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        
        .btn-circle i {
            font-size: 20px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .sidebar {
                width: 60px;
            }
            
            .logo span, .menu-item span {
                display: none;
            }
            
            .menu-item i {
                margin-right: 0;
                font-size: 18px;
            }
            
            .dynamic-images {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
        }